package com.xumx.service.Impl;

import com.xumx.mappers.UserMapper;
import com.xumx.pojo.User;
import com.xumx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Xumx on 2022/5/18 10:25
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
